made routes and got data into user model