Correct rewrite rules
Added stubs for invitation creation