Added Invitation logic