fix syntax bug
Merge branch 'master' of https://github.com/acsalu/nmlab-chatr00m
fix server bugs & reduce redundant code
fix conflicts