$user
$user : null
This will hold the currently logged in user, this is loaded each time this class is loaded.
This variable is not meant to hold the current user through sessions because of how codeigniter works with libraries, That is , this class loaded with every request, meaning this variable is reset with every request. thats where session comes into play.
Session will hold the user identifier only, and this variable is loaded with each request