Added error handling when logging in a user that does not exist