Added database connect features