change get method to post method
connexion almost finished