initial integration with firebase