Invitation system is now working as expected