Better exception handling.

A exception will now throw when a incorrect email or password is given