finalize authentification