Fixes to invite page and URL router