added usage of json error responses in the invite lobby
Merge pull request #134 from ahlen/master

added usage of json error responses in the invite lobby