Changed to restful routes