Please write a login code for multiple pages

I have multiple pages in Streamlit. I want to make a login page before entering the application to access any page. Can anyone write a code

Hey @azam_iqbal,

Please don’t ask community members to write your code for you. Check out the Streamlit-Authenticator component and feel free to post another question (with a code snippet) if you hit a roadblock in implementing this functionality.