loading firebase async