var salt = require('../config').salt;
var bcrypt = require('bcrypt-nodejs');
var User = require('../api/user/user.model');

exports.successLogin = function(req, res) {
    res.json({ 
        status: true,
        username: req.user.username,
        email: req.user.email
    });
};

exports.successRegister = function(req, res) {
    res.json({ 
        status: true,
        username: req.user.username,
        email: req.user.email
    });
};

exports.logout = function(req, res) {
    req.logout();
    res.json({
        status: false
    });
};

@@ -533,12 +533,11 @@
 us: 
-fals
+tru
 e%0A  

Update auth.controller.js