Deleted account still being detected (OS X El Capitan)
Open up terminal from /Applications/Utilities and run this command sudo sysadminctl -deleteUser username
Replace the word username with the shortname of the account you’re trying to delete. 
This will delete the actual account and it’s home folder so be sure you don’t need anything from that account.