Fixed stilling sessions issue. Fixed session corruption after logout/login