added functions to post.js and change on invite to meeting