public function __construct()
 {
     $this->group_repo = App::make('group_repository');
     $this->user_repo = App::make('user_repository');
     Event::listen(['repository.deleting', 'repository.updating'], '\\Jacopo\\Authentication\\Repository\\EloquentPermissionRepository@checkIsNotAssociatedToAnyUser');
     Event::listen(['repository.deleting', 'repository.updating'], '\\Jacopo\\Authentication\\Repository\\EloquentPermissionRepository@checkIsNotAssociatedToAnyGroup');
     return parent::__construct(new Permission());
 }
 public function __construct()
 {
     $this->sentry = App::make('sentry');
     return parent::__construct(new User());
 }
 /**
  * We use the user profile as a model
  */
 public function __construct()
 {
     return parent::__construct(new UserProfile());
 }