client and server side logic implemeted for chat And now working on UI