Refactored Garrison Invite code