Streamlit multi users

Can someone help me? I’ve created a Streamlit application with a login system, and it works fine. However, after deploying it to an AWS EC2 instance and restricting access to my IP address, I encounter an issue. When I access the app from my PC, everything works as expected. But when I try to access it from my mobile device using the same link, it allows access to the content that should be restricted to logged-in users. How can I ensure that each user has their own access and session?