Linked newcontact controller
Added search and display for query of database to main.html and its controller