Part 4 covers Logging a user in or out, and checking if they're currently logged in.
codeigniter auth