Commit connexion + inscription + logout