Add password handler to demo
Changes to demo ajax