public function getUserGroups($lang = "")
    {
        // check if user has permissions to access this link
        if(!User::hasAccess('Permissions', 'read')) {
            return $this->noPermission();
        }
        return array('data' => \App\Models\UserGroup::all());
    }