changed routes to reflect rails conventions