testing firebase functionality for chatbox