validation for trainer schedule booking working