updated changepassword function to take different parameters
changepassword implemented

 but cannot test because dev server is not responding