removed session controller and code around it