var getUserRating = function(fname) {
            return $http.get(SERVICE_LOC.base + SERVICE_LOC.marketplace.base +
                fname + '/getRating', {cache: true})
              .then(function(result) {
                return result.data.rating;