Added invite functionality
Merge branch 'invites-implementation'