Remove simple code duplication in members controllers