add register and connexion