completed data-sharing and auth via firebase