added better password protection