Added slugs, removed redundant code in controllers to a set_* before_action