Added code for connecting to a database