enhanced the chat app with position