form is connected with database