- added password encryption to editUser()