beginning of ajax username check

see comment in login.html on how python script should work