adds routes for main page