Chat app in Scala