All of the form and half of database call