fix unable to properly add/edit user due to logic error in user_add_validate(), add user_edit_validate()