define routes in component