started implementing the authentification