adding app title
making sure socket message are only sent to the correct client