added loading indicator and pull to refresh