Updated chat_room:

1. Corrected database query clauses;
2. Corrected query results' representation on client site.