Added sessions to views