changed request to session