added validation to time slot form