Index: frontend/src/Components/Resources/AddNew.js
===================================================================
--- frontend/src/Components/Resources/AddNew.js	(revision e9b4ba920295b1b329df3313a9e80743d23804ee)
+++ frontend/src/Components/Resources/AddNew.js	(revision ac19a0cf7321de5f2be8991b7fc81fc71fe07f6c)
@@ -56,8 +56,8 @@
         </Modal.Header>
         <Modal.Body>
-            {props.type === "hotel" && <AddHotelForm refresh={props.refresh}/>}
-            {props.type === "room" && <AddRoomForm refresh={props.refresh} hotelId={props.Id}/>}
-            {props.type === "restaurant" && <AddRestaurantForm edit="false" refresh={props.refresh}/>}
-            {props.type === "transport" && <AddTransportForm refresh={props.refresh}/>}
+            {props.type === "hotel" && <AddHotelForm closeModal={handleClose} refresh={props.refresh}/>}
+            {props.type === "room" && <AddRoomForm closeModal={handleClose} refresh={props.refresh} hotelId={props.Id}/>}
+            {props.type === "restaurant" && <AddRestaurantForm edit="false" closeModal={handleClose} refresh={props.refresh}/>}
+            {props.type === "transport" && <AddTransportForm closeModal={handleClose} refresh={props.refresh}/>}
             {props.type === "menu" && <AddItemMenuForm Id={props.Id} refresh={props.refresh}/>}
             {props.type === "route" && <AddTripForm transportId={props.transport.transportID} setSize={setSizeXl} refresh={props.refresh}/>}
Index: frontend/src/Components/Resources/EditModal.js
===================================================================
--- frontend/src/Components/Resources/EditModal.js	(revision e9b4ba920295b1b329df3313a9e80743d23804ee)
+++ frontend/src/Components/Resources/EditModal.js	(revision ac19a0cf7321de5f2be8991b7fc81fc71fe07f6c)
@@ -31,5 +31,5 @@
         </Modal.Header>
         <Modal.Body>
-            {props.type === "hotel" && <AddHotelForm/>}
+            {props.type === "hotel" && <AddHotelForm refresh={props.refresh}/>}
             {props.type === "room" && <EditRoomForm refresh={props.refresh} room={props.room}/>}
             {props.type === "restaurant" && <AddRestaurantForm edit="false" refresh={props.refresh}/>}
Index: frontend/src/Components/Resources/ResourceListing.js
===================================================================
--- frontend/src/Components/Resources/ResourceListing.js	(revision e9b4ba920295b1b329df3313a9e80743d23804ee)
+++ frontend/src/Components/Resources/ResourceListing.js	(revision ac19a0cf7321de5f2be8991b7fc81fc71fe07f6c)
@@ -6,12 +6,10 @@
 
 const ResourceListing = (props) => {
-  
-    console.log("props " + props.id)
-  
 
     const type = props.type == "hotel" ? "сместувањето" : props.type == "restaurant" ? "ресторанот" : "превозот";
     const name = props.type == "hotel" ? props.data.hotelName : props.type == "restaurant" ? props.data.restaurantName : props.data.transportName
-    const id = props.type == "hotel" ? props.data.hotelId : props.type == "restaurant" ? props.data.resturantId : props.data.transportID
-    return(<> 
+    const id = props.type == "hotel" ? props.data.hotelId : props.type == "restaurant" ? props.data.restaurantID : props.data.transportID
+    console.log(props.data)
+    return(<>
     <a href={`${props.type}/${id}`} style={{textDecoration: "none", color:"black"}}>
         <Container className="py-3 px-1 my-4"
Index: frontend/src/Components/Resources/ResourcesTab.js
===================================================================
--- frontend/src/Components/Resources/ResourcesTab.js	(revision e9b4ba920295b1b329df3313a9e80743d23804ee)
+++ frontend/src/Components/Resources/ResourcesTab.js	(revision ac19a0cf7321de5f2be8991b7fc81fc71fe07f6c)
@@ -11,17 +11,11 @@
 function ResourcesTab(props) {
   const [activeTab, setActiveTab] = useState(props.tab);
-  // const [changed, setChanged] = useState(0);
-  const userId = localStorage.getItem("userId");
+  const userId = JSON.parse(localStorage.getItem("user")).userId;
   const { data, setData, isLoading, getData, setChanged } = useGet(`${props.tab}/user/${userId}`);
 
   const handleSelect = (eventKey) => {
     setActiveTab(eventKey);
-    console.log(props.refresh);
     props.refresh(eventKey);
-    console.log("refresh" + eventKey);
   };
-
-  !isLoading && console.log(data);
-  console.log(props.tab);
 
   return (
@@ -78,5 +72,5 @@
               data.map((hotel) => {
                 return (
-                  <Link key={hotel.hotelId} to={"/resources/hotel/" + hotel.hotelId}>
+                  <Link style={{textDecoration: "none"}} key={hotel.hotelId} to={"/resources/hotel/" + hotel.hotelId}>
                     <ResourceListing
                       key={hotel.hotelId}
@@ -93,14 +87,10 @@
             {props.tab == "/restaurant" && !isLoading && data != null &&
               data.map((restaurant) => {
-                console.log("mapiranje " + restaurant)
                 return (
-                  <Link key={restaurant.restaurantId} to={"/resources/restaurant/" + restaurant.restaurantID}>
                     <ResourceListing
-                      key={restaurant.restaurantId}
+                      key={restaurant.restaurantID}
                       type="restaurant"
                       data={restaurant}
-                    />
-                  </Link>
-                );
+                    />);
               })}
             <AddNew type="restaurant" refresh={setChanged}/>
