[eluser]WanWizard[/eluser]
Other then a login system probably using sessions, there is no relation between login (which is an application function) and session (which is a system state mechanism).
There are plenty of CI authentication systems available, like IonAuth, TankAuth, AGauth and probably dozens more. A search would probably help.