validate invite code just on create