use req.connection.remoteAddress instead of req.ip because req.ip doesnt seem to work