add explicit check of [valid_user] true/false