updated login example with ajax
Merge pull request #2 from CalvinFernandez/master

added ajax to example