copied codeigniter provider as EE since they are simaliar