added routes to controller