Protect pages with login, added permissions to new pages