Fixed some issues.
Merge pull request #20 from jslvtr/headers_fix

Fixed some issues.
Added ability to invite and remove users through front-end.
Use $index now instead of manually searching for user to remove.