Client side scripts
Login form converted to ajax