user, javascript confirm added