refactored offer controller, removed nested api requests