Added in invite key functionality.