Ian/profile invites

@nicolashery ready for review, during testing i found a missing api call, it might be me using the wrong one but lets talk to sort it out. I expect it to be an easy fix.