Changes to login api ajax refresh
Merge pull request #2 from dracony/master

Changes to api ajax refresh