fix broken account creation endpoint