moved /member/invite to invite.js file