protected function registerPersistences()
{
$this->registerSession();
$this->registerCookie();
$this->app->singleton('sentinel.persistence', function ($app) {
$config = $app['config']->get('cartalyst.sentinel.persistences');
return new IlluminatePersistenceRepository($app['sentinel.session'], $app['sentinel.cookie'], $config['model'], $config['single']);
});
}