Use phantomjs to login
Add login.js