Index.html uses require.js
use type=submit for login