Closing database after fetching contact info. Displaying more info on contact page