loader and pagination added. Need to create end method for loader and make pagination work...now pagination is loading all the results, which takes forever. needs to just load one page of results