remove reference to session in view