refactored gigs_controller