adding invite functionality - not working for demo users...