defined the routes of users and added them to app.