check session for ajax dynamique requete