Add method to do user/password logins to UserModel.