Added further Codeigniter functionality