Added logic for missing sponsor
Added agencies_controller