added chat layout

added if statement for the sound