Factored out several controller methods into helper