debug/fix the problem with 500 error on change password page