register user finished