resolves #413; write login_data.js
Merge pull request #414 from tjwebb/issues/413/login-data

write login_data.js