added user model with user authentication