Should be,

`res.json( { user: login } );`