home page refactor with fb