adding session as global