Firebase communication code done