Still working on getting the ajax working, I think calender will need to be added to the viewclass.php