add getter for the database handler