edited controller and routing for nicer urls