completed videos 22-23
connects the controller to the form, and established a database connection