message: Destrucuring login query result to get the relevant data
diff: @@ -13,7 +13,8 @@ exports = module.exports = function login () {
  } else if (utils.notSolved(challenges.loginBenderChallenge) && user.data.id === 3) {
  utils.solve(challenges.loginBenderChallenge)
  }
  - models.Basket.findOrCreate({ where: { userId: user.data.id }, defaults: {} }).then(basket => {
  + models.Basket.findOrCreate({ where: { userId: user.data.id }, defaults: {} })
  + .then(([basket, created]) => {
  const token = insecurity.authorize(user)
  user.bid = basket.id // keep track of original basket for challenge solution check
  insecurity.authenticatedUsers.put(token, user)
  