added boolean for password editing