first version of the new reg dialog, reg does not yet work
basic registration workflow on the client, needs server variables