prepare to authentification