Added the database intergeration