public function toggleEnablingAction(User $userToEdit)
    {

        // only normal users/admins can be changed
        if (!$userToEdit->isSuperAdmin()) {

            /** @var $userManager \FOS\UserBundle\Model\UserManagerInterface */
            $userManager = $this->get('fos_user.user_manager');

            $userToEdit->setEnabled(!$userToEdit->isEnabled());
            $userManager->updateUser($userToEdit);

            $this->addFlash(
                'info',
                $userToEdit->isEnabled() ? 'User '.$userToEdit->getNameAndUsername().' enabled' : 'User '.$userToEdit->getNameAndUsername().' disabled'
            );

        } else {

            $this->addFlash('warning', 'Users with super admin privileges can not be disabled');
        }

        return $this->redirectToRoute('campaignchain_core_user');
    }