routes for init and invite