Add password protection and error strings