defining routes to the controllers