Created user model with authentication