remove password protection code