save sessionId, userId, and token when login successfully.