changes all around for server registration.