update to routes, fixed action controller and test