firebase host and chat working

now chat works great with self updating , newsfeed and option to close
talks. also fixed a bug in search bar (page reloading when enter was
pressed inside). code for pure chat is now finished it only needs a
refresh - cleaning.