change showing login popup when init homepage