Trying to integrate with firebase