fixed validation of visit model, and change new visit form in new view