Initial authN functions and types