Added firebase listener.