Mask registration dialog when registering

- refresh userState after registration process is complete