Set before_action for :show, :edit, :update