added route to the get functions in the router