move methods from application controller to specific controller