firebase almost working