fixed bug allowing change of email to one already in use