Got restarting of the server working
More work on registration. Non-working state.