Add support for updating user's password
Fix login exceptions