added user model and updated routes