add route for receiving path variable