Feature invites

Almost completed implementation of invites