[TASK] Add extendable controller and logout method