New version with seperate pages for logged in users and logged out