src/applications/accredited-representative-portal/selectors/user.js
export const selectUserIsLoading = state => state.user.profile.loading;
export const selectUserIsLoggedIn = state => state.user.login.currentlyLoggedIn;
export const selectUserProfile = state =>
selectUserIsLoggedIn(state) ? state.user.profile : null;