Added user model and login controller