made changes to user model, and user schema