implement list of contacts and CRUD contacts API route

Change-Id: I749d25c8b1ef6205e5d888bb517c43233bc9215b
diff --git a/client/redux/appSlice.ts b/client/redux/appSlice.ts
index e430aad..8ad47cd 100644
--- a/client/redux/appSlice.ts
+++ b/client/redux/appSlice.ts
@@ -1,14 +1,17 @@
 import { createSlice, PayloadAction } from "@reduxjs/toolkit";
+import Account from "../../model/Account";
 import type { RootState } from "./store";
 
 // Define a type for the slice state
 interface appState {
   accountId: string;
+  accountObject: Account;
 }
 
 // Define the initial state using that type
 const initialState: appState = {
   accountId: "",
+  accountObject: null,
 };
 
 export const appSlice = createSlice({
@@ -19,10 +22,13 @@
     setAccountId: (state, action: PayloadAction<string>) => {
       state.accountId = action.payload;
     },
+    setAccountObject: (state, action: PayloadAction<Account>) => {
+      state.accountObject = action.payload ;
+    },
   },
 });
 
-export const { setAccountId } = appSlice.actions;
+export const { setAccountId, setAccountObject } = appSlice.actions;
 
 // Other code such as selectors can use the imported `RootState` type
 // export const selectCount = (state: RootState) => state.app.value;