added ability to download prescription history from server