User Throw Exception

Now throws an exception if the login doesn’t work.