add some code related to assigning pages
don't add default password value until edit row is clicked on