new route added

The invitation format has been changed and the old style invitation link are not working.

New route and controller logic added to fix this