Updated to new auth method