var uID = data.id;
var uNick = data.nickname;
var userD = [uID, uNick];
var quer = "SELECT * FROM users WHERE ('ID','Login')VALUES('?',?)";
connection.query(quer, userD, function(err, result){
console.log(err);
console.log(result);
});