Create testlogin.js

This is test code for logging in using node.js and sqlite. 
   It currently is not used and is probably completely wrong.