update ajax code and login code
Merge pull request #4 from mts-app/mts-app_12122014

update ajax code and login code