extract method from application controller into concern