Is it ok to set up the routes like this?