add session funtionality in session controller and app controller