updates to login user before registering the client app