adding user model with authentication