Adding validation for request param