SSO Implementation with CodeIgniter RESTful