added ability to fetch one record from server