add validation for room