Added Save session method