friend db operation, user exit code