tie in login controller to user model