Codeigniter Rest Api Authentication Tutorial