if (!filter_var($User->id, FILTER_VALIDATE_INT)) {
            throw new InvalidArgumentException("It looks like you're not logged in");
        }