(In progress) Make it real SPA
Lots and lots of changes...
Migrated login
Finish register
Finish confirm email verification
Finish change password
* add directive to show info/error
* update API to send both msg and error
* clean up stuff