change session class to be static and change all solution