fixed ajax and user page
Merge pull request #15 from tiger-swallowtails-2014/mike

fixed ajax and user page