Create invitationManager.js