Removed session start in the layout class cause it is redundant.