Added logging to the DataAccessObject