Run init function in controllers before action call