running all actions through routes and fixing up errors. adding in some new features