added routeParams and removed admin