added redis storage, added paging