adding in fisrt workings of chat app