add angular auth and edit infiniteScroll