Login ajax script

Wrote an ajax script that should be able to talk to the c# login
function