updated routes to remove boilerplate
removed boilerplate