added offline profile data fetching functinallity. embedded this functionality in MainActivity
merge commit