Change typical routes to  RESTful routes