Added login system and required login for all pages