registering user finished