Added integration with firebase