Move firebase call inside on load to prevent error that sometimes occurs before teh db is loaded