fixed adding a service to a server, added proper logging