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