You need to store the login in your session or localstorage.
Erikras repo stores the login in session by default. And redux state won't be maintained between page refreshes. Redux state will only be maintained till the time you are in the app. Once you navigate away, the redux store will be lost.
You can check github.com/rt2zz/redux-persist to persist redux store across sessions.
Sidhant Panda
Programmer