adding routes and Joi