export function logoutUser() {
  return dispatch =>
        axios
            .get('/api/logout')
            .then((res) => {