Removed the hard coded username and email
Error cheching for login failure