save old session when login