updated home and category views to use firebase