firebase hooked up to frontend