added inital database connectivity