if (res.body.profile.lastname == null || typeof res.body.profile.lastname !== 'string') {
          console.error('Auth profile.lastname is missing or not a string!')
          return dispatch(loginError())
        }