/**
 * Index controller
 * @type {*|exports|module.exports}
 */
var express = require('express');

var get = function (req, res, next) {
	var auth = req.body.auth;
	var user;
	if (auth.success){
		console.log(auth);
		user = auth.decoded;
	}
	res.render('index', {
		title: 'Express',
		user: user
	});

}

module.exports.get = get;
@@ -290,16 +290,84 @@
 er: user
+,%0A%09%09ip: req.app.get(%22server-ip%22),%0A%09%09port: req.app.get(%22server-port%22)
 %0A%09%7D);%0A%0A%7D

Add ip port