export const completeLogin = (token, decoded, extra = {}) => ({
  type: types.LOGIN_SUCCEED,
  payload: { token, decoded, ...extra }
});