fixed routes and some front end stuff