Added Sessions logic