Hooked up each form to database.