removing helper method from application controller