Added some Database connections

Completed the connection to the database for the communications section
and part of the events section