AUTHENTICATING AND REGISTERING WOOHOOOOOOOOOOO