Mask registration dialog when registering

- refresh userState after registration process is complete

Fix for https://github.com/Rise-Vision/common-header/issues/85