Adding stuff to the new form
Add db connection to views and controller.