protected function removeUserModel($directory)
    {
        $modelFile = $directory . '/app/User.php';

        if (is_file($modelFile)) {
            @chmod($modelFile, 0777);
            @unlink($modelFile);
        }

        return $this;
    }