Index: jobvista-frontend/src/redux/reducers/adminReducer.js
===================================================================
--- jobvista-frontend/src/redux/reducers/adminReducer.js	(revision 4d97b633e131eca76d6c290321725684fc1d5970)
+++ 	(revision )
@@ -1,31 +1,0 @@
-import {CHANGE_ACCESS, FETCH_RECRUITERS} from "../actionTypes";
-import {sortElementsBy} from "../../utils/utils";
-
-const initialState = {
-    recruiters: [],
-}
-
-const AdminReducer = (state = initialState, action) => {
-    switch (action.type) {
-        case FETCH_RECRUITERS:
-            return {
-                ...state,
-                recruiters: sortElementsBy(action.recruiters, "registeredOn")
-            }
-        case CHANGE_ACCESS:
-            return {
-                ...state,
-                recruiters: state.recruiters.map(recruiter =>
-                recruiter.id === action.recruiter.id ?
-                    {...recruiter, hasAccess: action.recruiter.hasAccess} :
-                    recruiter
-                )
-            }
-        default:
-            return {
-                ...state,
-            };
-    }
-}
-
-export default AdminReducer
Index: jobvista-frontend/src/redux/reducers/applicationReducer.js
===================================================================
--- jobvista-frontend/src/redux/reducers/applicationReducer.js	(revision 4d97b633e131eca76d6c290321725684fc1d5970)
+++ 	(revision )
@@ -1,70 +1,0 @@
-import {
-    CURRENT_USER,
-    FETCH_APPLICATIONS_BY_JOB_ID,
-    FETCH_APPLICATIONS_BY_JOB_SEEKER_ID, FILTER_APPLICATIONS_BY_JOB_ID, FILTER_APPLICATIONS_BY_JOB_SEEKER_ID,
-    SUBMIT_APPLICATION, UPDATE_APPLICATION, UPDATE_APPLICATION_STATUS
-} from "../actionTypes";
-
-const initialState = {
-    applicationsByJobSeeker: [],
-    applicationsByJobAdId: []
-}
-
-let currentUser = JSON.parse(localStorage.getItem(CURRENT_USER))
-
-export const ApplicationReducer = (state = initialState, action) => {
-    let applications;
-
-    switch (action.type) {
-        case SUBMIT_APPLICATION:
-            return {
-                ...state,
-                applicationsByJobSeeker: [...state.applicationsByJobSeeker, action.application]
-            }
-        case UPDATE_APPLICATION:
-            return {
-                ...state,
-                applicationsByJobSeeker: state.applicationsByJobSeeker.map(application =>
-                    application.id === action.application.id ?
-                        action.application : // Replace with the updated application
-                        application // Keep the old one
-                )
-            }
-        case UPDATE_APPLICATION_STATUS:
-            return {
-                ...state,
-                applicationsByJobAdId: state.applicationsByJobAdId.map(application =>
-                application.id === action.application.id ?
-                    {...application, status: action.application.status} :
-                    application
-                )
-            }
-        case FETCH_APPLICATIONS_BY_JOB_ID:
-            return {
-                ...state,
-                applicationsByJobAdId: action.applicationsByJobAdId
-            }
-        case FILTER_APPLICATIONS_BY_JOB_ID:
-            return {
-                ...state,
-                applicationsByJobAdId: action.applicationsByJobAdId
-            }
-
-        case FETCH_APPLICATIONS_BY_JOB_SEEKER_ID:
-            return {
-                ...state,
-                applicationsByJobSeeker: action.applicationsByJobSeeker
-            }
-        case FILTER_APPLICATIONS_BY_JOB_SEEKER_ID:
-            return {
-                ...state,
-                applicationsByJobSeeker: action.applicationsByJobSeeker
-            }
-        default:
-            return {
-                ...state,
-            };
-    }
-}
-
-export default ApplicationReducer
Index: jobvista-frontend/src/redux/reducers/authReducer.js
===================================================================
--- jobvista-frontend/src/redux/reducers/authReducer.js	(revision 4d97b633e131eca76d6c290321725684fc1d5970)
+++ jobvista-frontend/src/redux/reducers/authReducer.js	(revision d8b6c91094bd4c748b347d914a3c4c3745d51587)
@@ -3,5 +3,4 @@
 import {isExpired} from "react-jwt";
 import {CURRENT_USER, SIGN_IN, SIGN_OUT, UPDATE_TOKEN} from "../actionTypes";
-import {jwtDecode} from "jwt-decode";
 
 const initialState = {
@@ -14,5 +13,5 @@
         case SIGN_IN:
             localStorage.setItem(AUTH_TOKEN, action.payload.token);
-            //localStorage.setItem(CURRENT_USER, JSON.stringify(action.payload.user));
+            localStorage.setItem(CURRENT_USER, JSON.stringify(action.payload.user));
             return {
                 ...state,
@@ -22,24 +21,10 @@
         case UPDATE_TOKEN:
             let token = action.payload;
-            let decodedToken;
-            let currentUser = "";
-            if(token !=null) {
-                try {
-                    decodedToken = jwtDecode(token);
-                } catch (error) {
-                    console.log("Failed to decode token: " + error)
-                }
-            }
-
+            let currentUser = null
             if(!isExpired(token)) {
                 localStorage.setItem(AUTH_TOKEN, token);
-                currentUser = {
-                    name: decodedToken.name,
-                    role: decodedToken.role,
-                    access: decodedToken.access,
-                    id: decodedToken.id
-                };
+                currentUser = JSON.parse(localStorage.getItem(CURRENT_USER));
             } else {
-                //localStorage.removeItem(CURRENT_USER);
+                localStorage.removeItem(CURRENT_USER);
                 localStorage.removeItem(AUTH_TOKEN);
                 currentUser = "";
@@ -52,10 +37,11 @@
             };
         case SIGN_OUT:
-            //localStorage.removeItem(CURRENT_USER);
+            console.log("BRISAM")
+            localStorage.removeItem(CURRENT_USER);
             localStorage.removeItem(AUTH_TOKEN);
             return {
                 ...state,
-                currentUser: "",
-                token: "",
+                currentUser: null,
+                token: null
             }
 
Index: jobvista-frontend/src/redux/reducers/imagesReducer.js
===================================================================
--- jobvista-frontend/src/redux/reducers/imagesReducer.js	(revision 4d97b633e131eca76d6c290321725684fc1d5970)
+++ 	(revision )
@@ -1,32 +1,0 @@
-import {SET_LOGO_URL, SET_PROFILE_PIC_URL} from "../actionTypes";
-
-const initialState = {
-    profilePictures: {},
-    logos: {}
-}
-
-const ImagesReducer = (state = initialState, action) => {
-
-    switch (action.type) {
-        case SET_PROFILE_PIC_URL:
-            return{
-                ...state,
-                profilePictures: {
-                   ...state.profilePictures, [action.payload.jobSeekerId]: action.payload.profilePicUrl
-                }
-            }
-        case SET_LOGO_URL:
-            return {
-                ...state,
-                logos: {
-                    ...state.logos, [action.payload.recruiterId]: action.payload.logoUrl
-                }
-            }
-        default:
-            return {
-                ...state,
-            };
-    }
-}
-
-export default ImagesReducer
Index: jobvista-frontend/src/redux/reducers/jobAdvertisementReducer.js
===================================================================
--- jobvista-frontend/src/redux/reducers/jobAdvertisementReducer.js	(revision 4d97b633e131eca76d6c290321725684fc1d5970)
+++ 	(revision )
@@ -1,69 +1,0 @@
-import {
-    ADD_JOB_ADVERTISEMENT,
-    CURRENT_USER,
-    DELETE_JOB_ADVERTISEMENT,
-    EDIT_JOB_ADVERTISEMENT,
-    FETCH_JOB_ADVERTISEMENTS,
-    FETCH_JOB_ADVERTISEMENTS_BY_RECRUITER,
-    FILTER_JOB_ADVERTISEMENTS,
-    FILTER_JOB_ADVERTISEMENTS_BY_RECRUITER,
-    SET_LOGO_URL
-} from "../actionTypes";
-import {sortElementsBy} from "../../utils/utils";
-import {useSelector} from "react-redux";
-
-const initialState = {
-    jobAdvertisements: [],
-    jobAdvertisementsByRecruiter: []
-}
-
-let currentUser = JSON.parse(localStorage.getItem(CURRENT_USER))
-export const JobAdvertisementReducer = (state = initialState, action) => {
-    let jobAdvertisements;
-    let jobAdvertisementsByRecruiter;
-    switch (action.type) {
-        case ADD_JOB_ADVERTISEMENT:
-
-            return {
-                ...state,
-                jobAdvertisements: sortElementsBy([...state.jobAdvertisements, action.jobAdvertisement]),
-                jobAdvertisementsByRecruiter: sortElementsBy([...state.jobAdvertisementsByRecruiter, action.jobAdvertisement], "postedOn")
-            }
-        case EDIT_JOB_ADVERTISEMENT:
-            jobAdvertisements = state.jobAdvertisements.filter(jobAd => jobAd.id !== action.jobAdvertisement.id)
-            jobAdvertisementsByRecruiter = state.jobAdvertisementsByRecruiter.filter(jobAd => jobAd.id !== action.jobAdvertisement.id)
-
-            return {
-                jobAdvertisements: sortElementsBy([...jobAdvertisements, action.jobAdvertisement], "postedOn"),
-                jobAdvertisementsByRecruiter: sortElementsBy([...jobAdvertisementsByRecruiter, action.jobAdvertisement], "postedOn")
-            }
-        case DELETE_JOB_ADVERTISEMENT:
-            jobAdvertisements = state.jobAdvertisements.filter(jobAd => jobAd.id !== action.id)
-            jobAdvertisementsByRecruiter = state.jobAdvertisementsByRecruiter.filter(jobAd => jobAd.id !== action.id)
-
-            return {
-                jobAdvertisements: sortElementsBy([...jobAdvertisements], "postedOn"),
-                jobAdvertisementsByRecruiter: sortElementsBy([...jobAdvertisementsByRecruiter], "postedOn")
-            }
-
-        case FETCH_JOB_ADVERTISEMENTS:
-            return {
-                ...state,
-                jobAdvertisements: sortElementsBy(action.jobAdvertisements, "postedOn")
-            }
-
-
-        case FETCH_JOB_ADVERTISEMENTS_BY_RECRUITER:
-            return {
-                ...state,
-                jobAdvertisementsByRecruiter: sortElementsBy(action.jobAdvertisementsByRecruiter, "postedOn")
-            }
-
-        default:
-            return {
-                ...state,
-            };
-    }
-}
-
-export default JobAdvertisementReducer
