write a function login() that will read the username and password in js code example
Example: javascript login system
var connection = mysql.createConnection({
host : 'localhost',
user : 'root',
password : '',
database : 'nodelogin'
});