Changed the routes to inherit from the parent 'user' route. Used the parameters from parent route to get the users login for each childs api call