added firebase code
created chat ui