change routes to use get