change session to stored