validated(); $model = new UserModel(); $model->register(); return []; } public function login() { } public function logout() { } }