Revert "Added inviteController"

This reverts commit db4718ad4aad466fa518c5dd1353805e29a661f3.