Added pin functions + Fixes for invitations
Merge branch 'dev' of github.com:paullouisageneau/Teapotnet into dev