Pull to refresh and rest template implemented