02.08.2016 - Do a search on the code igniter wiki for 'authentication' and there are a for a logged in flag or something and if not logged in then redirect to login page). ThenĀ .