non duplicate email entries
minor changes on login error handling