making of chat

chat will work with storing messages to recipients chat and also yours.
for now i’ve already made function which finds recipients name (name
has to be founded from user id(number)) -line 88 (searchbar.js) . from
recipients name i find the path to chat (path to user / chat +
recipients name).