bug: when logging in session data is not tracked properly