Fixed Services

Services are now correctly connecting and synchronizing with db
Fixed data sending