[Fixed]
- Log the activity first before logging out the session.