Added schema validations via Joi