fix the user login problem, change the user model, make the pramriy key user_id. so after login can user Auth:user() function to get the user data. now after login the user will be a global variable.