modified routes and user model