working routes with new rest