The session state is not saved when switching between pages with Streamlit-Authenticator

I have created a multi-page application in Streamlit and use Streamlit-Authenticator. When navigating between pages, the session_state created in the pages is reset to zero. Why is this happening?