program now knows if you approve/deny a need from index or show action