new sql for table creation; finished UI for medical history forms