Made router properly RESTful