fixed up routes and added controllers