Database connections up and running now. Now to figure out a way to handle errors