getters and setters plus some invitation handling