begin boilerplate code for /users/waypoints route