Merge pull request #6 from settinghead/master

use localStorage to save auth info