Added needed session to view