axios.post('https://doesangueapi.herokuapp.com/v1/auth/login', user)
      .then(response => {
        commit(TYPES.LOGIN_SUCCESS, response.data.access_token)
        window.localStorage.setItem(
          'token',