Code refactoring for Auth
new npm modules and bower modules.