exists()) { // user id is invalid header('Location: app.php?page=users&msg=user_not_exists'); die(); } } else { // user id is invalid header('Location: app.php?page=users&msg=user_not_exists'); die(); } ?>