message: prevent login on account deletion
diff: @@ -48,6 +48,11 @@ module.exports = function login () {
  .then((authenticatedUser) => {
  let user = utils.queryResultToJson(authenticatedUser)
  + if (user.data.isActive === false) {
  + console.log(user.data.isActive)
  + res.status(401).send('User profile has been deleted')
  + }
  +
  const rememberedEmail = insecurity.userEmailFrom(req)
  if (rememberedEmail && req.body.oauth) {
  models.User.findOne({ where: { email: rememberedEmail } }).then(rememberedUser => {
  