FIX: parent::init is not called first

In the controller's init function, parent::init() should be called before any other method calls.