Codeigniter PHP framework library class for dealing with user authentication