removed unneccessary RegisterRoutes