added comments to new functions that invite a created user to all
according events and removed unused imports