fixed issue where room was undefined
cleaning up
enter to send