adding firebase dynamic loading