ajout method useSession