adding controllers and routing for the bese pages