export const userLoggedIn = curry((dispatch: any => void, user: Object) => dispatch({
    type: types.LOGIN_SUCCESSFUL,
    user
}));