function execute() { $user = ConnectionHelper::userLogin(); $model = new connectionUserModel(); $model->updateInfo($_POST, (int) $user['id'], $_FILES); Request::redirect('/profile/'); return 'success'; }