Index: jobvista-frontend/src/redux/actions/authActions.js
===================================================================
--- jobvista-frontend/src/redux/actions/authActions.js	(revision d8b6c91094bd4c748b347d914a3c4c3745d51587)
+++ jobvista-frontend/src/redux/actions/authActions.js	(revision 19398adb44637736271a04ab58b1f528cc33908f)
@@ -43,6 +43,7 @@
                 const response = jwtResponse.data;
                 const token = response.token;
-                //const refreshToken = response.refreshToken; // Corrected typo
+                //const refreshToken = response.refreshToken;
                 const user = {
+                    id: response.id,
                     email: response.email,
                     name: response.name,
Index: jobvista-frontend/src/redux/actions/jobAdvertisementActions.js
===================================================================
--- jobvista-frontend/src/redux/actions/jobAdvertisementActions.js	(revision 19398adb44637736271a04ab58b1f528cc33908f)
+++ jobvista-frontend/src/redux/actions/jobAdvertisementActions.js	(revision 19398adb44637736271a04ab58b1f528cc33908f)
@@ -0,0 +1,102 @@
+import axios from "../../axios/axiosInstance";
+import {
+    ADD_JOB_ADVERTISEMENT,
+    CURRENT_USER, DELETE_JOB_ADVERTISEMENT, EDIT_JOB_ADVERTISEMENT,
+    FETCH_JOB_ADVERTISEMENTS,
+    FETCH_JOB_ADVERTISEMENTS_BY_RECRUITER
+} from "../actionTypes";
+
+export const JobAdvertisementActions = {
+    addJobAdvertisement: (jobAdvertisement, callback) => {
+        return dispatch => {
+            axios.post("/job-advertisements/add", jobAdvertisement)
+                .then(response => {
+                    dispatch({
+                        type: ADD_JOB_ADVERTISEMENT,
+                        jobAdvertisement: response.data
+                    })
+                    callback(true, response)
+                }).catch((error) => {
+                callback(false, error)
+            })
+        }
+    },
+    editJobAdvertisement: (jobAdvertisement, id, callback) => {
+        return dispatch => {
+            axios.put("/job-advertisements/edit/" + id, jobAdvertisement)
+                .then(response => {
+                    dispatch({
+                        type: EDIT_JOB_ADVERTISEMENT,
+                        jobAdvertisement: response.data
+                    })
+                    callback(true, response)
+                }).catch((error) => {
+                callback(false, error)
+            })
+        }
+    },
+    deleteJobAdvertisement: (id, callback) => {
+        return dispatch => {
+            axios.delete("/job-advertisements/delete/" + id)
+                .then(response => {
+                    dispatch({
+                        type: DELETE_JOB_ADVERTISEMENT,
+                        id: id
+                    })
+                    callback(true)
+                }).catch(error => {
+                callback(false, error)
+            })
+
+        }
+    },
+    fetchJobAdvertisementById: (id, callback) => {
+        axios.get("/job-advertisements/view/" + id)
+            .then(response => {
+                callback(true, response)
+            }).catch(error => {
+                callback(false, error)
+            })
+    },
+
+    fetchJobAdvertisements: (callback) => {
+        return dispatch => {
+            axios.get("/job-advertisements/all")
+                .then(response => {
+                    dispatch({
+                        type: FETCH_JOB_ADVERTISEMENTS,
+                        jobAdvertisements: response.data,
+                    })
+                    callback(true, response)
+                }).catch((error) => {
+                callback(false, error)
+            })
+        }
+    },
+
+    fetchJobAdvertisementsByRecruiter: (id, callback) => {
+        return dispatch => {
+            let currentUser = JSON.parse(localStorage.getItem(CURRENT_USER));
+            axios.get("/job-advertisements/recruiter/" + currentUser.id)
+                .then(response => {
+                    dispatch({
+                        type: FETCH_JOB_ADVERTISEMENTS_BY_RECRUITER,
+                        jobAdvertisementsByRecruiter: response.data,
+                    })
+                    callback(true, response)
+                }).catch((error) => {
+                console.log("ERROR")
+                callback(false, error)
+            })
+        }
+    },
+
+    fetchRecruiterDetailsById: (id, callback) => {
+        axios.get("/recruiter/info/" + id)
+            .then(response => {
+                callback(true, response)
+            }).catch(error => {
+            callback(false, error)
+        })
+    }
+}
