Added ability to disble or enable invites