form checking in doctor signup