changed sample chat app