homepage and session - coded for layout,controller and other handling