Fixed minor issues

Removed unused class
Fixed bug where user couldn't re-invite themselves to their own group