user model/login updated