Adds inviteCode posting to login and registration, so we can claim the code