created routes and stub functions for the controllers