Added user model and authentication