changed urls to restful