fully functional authentication process