invite functionality only visible in url mode and fix invite functionality, #32