=Implemented database communication