add session prop to view