retrieve object based on slug