save session manually