4 lines of code = working chat