finalized authentication