Index: cimeri-main/.idea/vcs.xml
===================================================================
--- cimeri-main/.idea/vcs.xml	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/.idea/vcs.xml	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -2,5 +2,4 @@
 <project version="4">
   <component name="VcsDirectoryMappings">
-    <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
     <mapping directory="$PROJECT_DIR$/cimeri" vcs="Git" />
   </component>
Index: cimeri-main/src/main/java/com/example/cimeri/model/Apartment.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/model/Apartment.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/model/Apartment.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -16,6 +16,6 @@
     private Long buildingid;
     private Long ownerid;
-    private String apartmentfloorandroomnumber;
-    private int apartmentsize;
+    private String apartment_adress;
+    private int apartment_size;
 
     public Apartment() {
@@ -25,6 +25,6 @@
         this.buildingid=buildingid;
         this.ownerid=ownerid;
-        this.apartmentfloorandroomnumber =apartment_adress;
-        this.apartmentsize =apartment_size;
+        this.apartment_adress=apartment_adress;
+        this.apartment_size=apartment_size;
     }
 }
Index: cimeri-main/src/main/java/com/example/cimeri/model/Building.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/model/Building.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/model/Building.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -14,13 +14,13 @@
     private Long buildingid;
 
-    private Long cityid;
-    private String buildingaddress;
+    private String cityname;
+    private String building_adress;
 
     public Building() {
     }
 
-    public Building(Long cityid, String building_adress) {
-        this.cityid=cityid;
-        this.buildingaddress =building_adress;
+    public Building(String cityname, String building_adress) {
+        this.cityname=cityname;
+        this.building_adress=building_adress;
     }
 }
Index: cimeri-main/src/main/java/com/example/cimeri/model/City.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/model/City.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/model/City.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -10,7 +10,4 @@
 public class City {
     @Id
-    @GeneratedValue(strategy = GenerationType.IDENTITY)
-    private Long cityid;
-
     private String cityname;
 
Index: cimeri-main/src/main/java/com/example/cimeri/model/Faculty.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/model/Faculty.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/model/Faculty.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -15,13 +15,13 @@
 
     private String facultyname;
-    private Long cityid;
+    private String cityname;
 
     public Faculty() {
     }
 
-    public Faculty(Long facultyid, String facultyname, Long cityid) {
+    public Faculty(Long facultyid, String facultyname, String cityname) {
         this.facultyid=facultyid;
         this.facultyname=facultyname;
-        this.cityid=cityid;
+        this.cityname=cityname;
     }
 }
Index: cimeri-main/src/main/java/com/example/cimeri/model/OwnerPost.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/model/OwnerPost.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/model/OwnerPost.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -3,4 +3,6 @@
 import jakarta.persistence.*;
 import lombok.Data;
+
+import java.time.LocalDateTime;
 
 
@@ -10,5 +12,5 @@
 public class OwnerPost {
     @Id
-    private Long ownerpostid;
+    private Long owner_postid;
     private Long apartmentid;
     private Long ownerid;
@@ -21,5 +23,5 @@
 
     public OwnerPost(Long owner_postid,Long apartmentid,Long ownerid) {
-        this.ownerpostid =owner_postid;
+        this.owner_postid=owner_postid;
         this.apartmentid=apartmentid;
         this.ownerid=ownerid;
Index: cimeri-main/src/main/java/com/example/cimeri/model/Post.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/model/Post.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/model/Post.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -14,8 +14,8 @@
     @GeneratedValue(strategy = GenerationType.IDENTITY)
     private Long postid;
-    private Long cityid;
-    private int numberofroommates;
+    private String cityname;
+    private int number_of_roommates;
     private int price;
-    private LocalDateTime dateposted;
+    private LocalDateTime date_posted;
     private String description;
 
@@ -24,9 +24,9 @@
     }
 
-    public Post(Long cityid, int number_of_roommates, int price, LocalDateTime date_posted, String description) {
-        this.cityid=cityid;
-        this.numberofroommates =number_of_roommates;
+    public Post(String cityname, int number_of_roommates, int price, LocalDateTime date_posted, String description) {
+        this.cityname=cityname;
+        this.number_of_roommates=number_of_roommates;
         this.price=price;
-        this.dateposted =date_posted;
+        this.date_posted=date_posted;
         this.description=description;
     }
Index: cimeri-main/src/main/java/com/example/cimeri/model/StudentPost.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/model/StudentPost.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/model/StudentPost.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -3,4 +3,6 @@
 import jakarta.persistence.*;
 import lombok.Data;
+
+import java.time.LocalDateTime;
 
 
@@ -10,5 +12,5 @@
 public class StudentPost {
     @Id
-    private Long studentpostid;
+    private Long student_postid;
     private Long studentid;
 
@@ -19,5 +21,5 @@
 
     public StudentPost(Long student_postid,Long studentid) {
-        this.studentpostid =student_postid;
+        this.student_postid=student_postid;
         this.studentid=studentid;
 
Index: cimeri-main/src/main/java/com/example/cimeri/repository/ApartmentRepository.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/repository/ApartmentRepository.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/repository/ApartmentRepository.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -20,8 +20,8 @@
 
 
-    @Query("select u.ime,u.prezime,u.phone_number,u.email_address,a.apartmentsize,a.apartmentfloorandroomnumber,b.buildingaddress,p.price,photos.photosurl from Building b,User u, Apartment a,Post p,OwnerPost op, Owner o, Photos photos WHERE u.userid=a.ownerid and op.ownerpostid=p.postid and op.ownerid=u.userid and o.ownerid=u.userid and o.ownerid=a.ownerid and b.buildingid=a.buildingid and a.apartmentid=op.apartmentid and photos.postid=p.postid and photos.postid=op.ownerpostid and p.numberofroommates=:number_of_roommates and p.price<=:budget and p.cityid=:cityid")
-    List filteredapartments(@Param("cityid")Long cityid, @Param("number_of_roommates") int number_of_roommates, @Param("budget") int budget);
+    @Query("select u.ime,u.prezime,u.phone_number,u.email_address,a.apartment_size,a.apartment_adress,b.building_adress,p.price,photos.photosurl from Building b,User u, Apartment a,Post p,OwnerPost op, Owner o, Photos photos WHERE u.userid=a.ownerid and op.owner_postid=p.postid and op.ownerid=u.userid and o.ownerid=u.userid and o.ownerid=a.ownerid and b.buildingid=a.buildingid and a.apartmentid=op.apartmentid and photos.postid=p.postid and photos.postid=op.owner_postid and p.number_of_roommates=:number_of_roommates and p.price<=:budget and p.cityname=:cityname")
+    List filteredapartments(@Param("cityname")String cityname, @Param("number_of_roommates") int number_of_roommates, @Param("budget") int budget);
 
-    @Query("select u.ime,u.prezime,u.phone_number,u.email_address,a.apartmentsize,a.apartmentfloorandroomnumber,b.buildingaddress,p.price,photos.photosurl from Building b,User u, Apartment a,Post p,OwnerPost op, Owner o, Photos photos WHERE u.userid=a.ownerid and op.ownerpostid=p.postid and op.ownerid=u.userid and o.ownerid=u.userid and o.ownerid=a.ownerid and b.buildingid=a.buildingid and a.apartmentid=op.apartmentid and photos.postid=p.postid and photos.postid=op.ownerpostid")
+    @Query("select u.ime,u.prezime,u.phone_number,u.email_address,a.apartment_size,a.apartment_adress,b.building_adress,p.price,photos.photosurl from Building b,User u, Apartment a,Post p,OwnerPost op, Owner o, Photos photos WHERE u.userid=a.ownerid and op.owner_postid=p.postid and op.ownerid=u.userid and o.ownerid=u.userid and o.ownerid=a.ownerid and b.buildingid=a.buildingid and a.apartmentid=op.apartmentid and photos.postid=p.postid and photos.postid=op.owner_postid")
     List allapartments();
 }
Index: cimeri-main/src/main/java/com/example/cimeri/repository/CityRepository.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/repository/CityRepository.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/repository/CityRepository.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -2,8 +2,6 @@
 
 import com.example.cimeri.model.City;
-import com.example.cimeri.model.User;
 import org.springframework.data.jpa.repository.JpaRepository;
 import org.springframework.data.jpa.repository.Query;
-import org.springframework.data.repository.query.Param;
 import org.springframework.stereotype.Repository;
 
@@ -15,5 +13,4 @@
 
 
-    @Query("select c.cityname from City c WHERE c.cityid=:cityid")
-    String findCityByCityId(@Param("cityid")Long cityid);
+
 }
Index: cimeri-main/src/main/java/com/example/cimeri/repository/OwnerPostRepository.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/repository/OwnerPostRepository.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/repository/OwnerPostRepository.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -15,5 +15,5 @@
 public interface OwnerPostRepository extends JpaRepository<OwnerPost,Long> {
 
-    @Query("select Max(ownerpostid) from OwnerPost")
+    @Query("select Max(owner_postid) from OwnerPost")
     Long findMaxOwnerPostID();
 
Index: cimeri-main/src/main/java/com/example/cimeri/repository/UserRepository.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/repository/UserRepository.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/repository/UserRepository.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -22,6 +22,6 @@
 
 
-    @Query("select u from User u,Student s,StudentPost sp,Post p WHERE u.userid=s.studentid and u.userid=sp.studentid and sp.studentpostid=p.postid and p.numberofroommates=:number_of_roommates and p.price<=:budget and p.cityid=:cityid and s.studentid!=:currentid")
-    List<User> findAllStudentsThatHavePosted(@Param("cityid")Long cityid, @Param("number_of_roommates") int number_of_roommates, @Param("budget") int budget, @Param("currentid") Long currentid);
+    @Query("select u from User u,Student s,StudentPost sp,Post p WHERE u.userid=s.studentid and u.userid=sp.studentid and sp.student_postid=p.postid and p.number_of_roommates=:number_of_roommates and p.price<=:budget and p.cityname=:cityname and s.studentid!=:currentid")
+    List<User> findAllStudentsThatHavePosted(@Param("cityname")String cityname, @Param("number_of_roommates") int number_of_roommates, @Param("budget") int budget, @Param("currentid") Long currentid);
 
 
Index: cimeri-main/src/main/java/com/example/cimeri/service/Implementation/UserServiceImplementation.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/service/Implementation/UserServiceImplementation.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/service/Implementation/UserServiceImplementation.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -27,6 +27,6 @@
 
     @Override
-    public List<User> filteredUsers(Long cityid, int budget, int number_of_roommates, Long currentid) {
-        List<User> users=userRepository.findAllStudentsThatHavePosted(cityid,budget,number_of_roommates,currentid);
+    public List<User> filteredUsers(String cityname, int budget, int number_of_roommates, Long currentid) {
+        List<User> users=userRepository.findAllStudentsThatHavePosted(cityname,budget,number_of_roommates,currentid);
 
 
Index: cimeri-main/src/main/java/com/example/cimeri/service/UserService.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/service/UserService.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/service/UserService.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -1,4 +1,5 @@
 package com.example.cimeri.service;
 
+import com.example.cimeri.model.Faculty;
 import com.example.cimeri.model.User;
 
@@ -8,5 +9,5 @@
     Long findMaxUserID();
     List<User> listAll();
-    List<User> filteredUsers(Long cityname, int budget, int number_of_roommates, Long currentid);
+    List<User> filteredUsers(String cityname, int budget, int number_of_roommates,Long currentid);
 
 
Index: cimeri-main/src/main/java/com/example/cimeri/web/controller/ListApartmentsController.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/web/controller/ListApartmentsController.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/web/controller/ListApartmentsController.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -1,6 +1,6 @@
 package com.example.cimeri.web.controller;
 
+import com.example.cimeri.model.User;
 import com.example.cimeri.repository.ApartmentRepository;
-import com.example.cimeri.repository.CityRepository;
 import jakarta.servlet.http.HttpSession;
 import org.springframework.stereotype.Controller;
@@ -20,9 +20,7 @@
 
     private final ApartmentRepository apartmentRepository;
-    private final CityRepository cityRepository;
 
-    public ListApartmentsController(ApartmentRepository apartmentRepository, CityRepository cityRepository) {
+    public ListApartmentsController(ApartmentRepository apartmentRepository) {
         this.apartmentRepository = apartmentRepository;
-        this.cityRepository = cityRepository;
     }
 
@@ -34,5 +32,4 @@
         int number_of_roommates= (int) httpSession.getAttribute("number_of_roommates");
         int budget= (int) httpSession.getAttribute("budget");
-        Long cityid= (Long) httpSession.getAttribute("cityid");
 
 
@@ -40,7 +37,6 @@
         httpSession.removeAttribute("number_of_roommates");
         httpSession.removeAttribute("budget");
-        httpSession.removeAttribute("cityid");
 
-        List filteredapartments=apartmentRepository.filteredapartments(cityid,number_of_roommates,budget);
+        List filteredapartments=apartmentRepository.filteredapartments(cityname,number_of_roommates,budget);
         model.addAttribute("filteredapartments",filteredapartments);
 
@@ -49,12 +45,10 @@
 
     @PostMapping
-    public String listneededapartments(@RequestParam int number_of_roommates, @RequestParam Long cityid, @RequestParam int budget
+    public String listneededapartments(@RequestParam int number_of_roommates, @RequestParam String cityname, @RequestParam int budget
             , HttpSession httpSession, Model model)
     {
 
-        String cityname= cityRepository.findCityByCityId(cityid);
         httpSession.setAttribute("number_of_roommates",number_of_roommates);
         httpSession.setAttribute("cityname",cityname);
-        httpSession.setAttribute("cityid",cityid);
         httpSession.setAttribute("budget",budget);
 
Index: cimeri-main/src/main/java/com/example/cimeri/web/controller/ListStudentsController.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/web/controller/ListStudentsController.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/web/controller/ListStudentsController.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -4,5 +4,4 @@
 import com.example.cimeri.model.StudentPost;
 import com.example.cimeri.model.User;
-import com.example.cimeri.repository.CityRepository;
 import com.example.cimeri.repository.PostRepository;
 import com.example.cimeri.repository.StudentPostRepository;
@@ -32,7 +31,6 @@
     private final FacultyService facultyService;
     private final UserService userService;
-    private final CityRepository cityRepository;
 
-    public ListStudentsController(PostRepository postRepository, StudentPostRepository studentPostRepository, UserRepository userRepository, FacultyService facultyService, UserService userService, CityRepository cityRepository) {
+    public ListStudentsController(PostRepository postRepository, StudentPostRepository studentPostRepository, UserRepository userRepository, FacultyService facultyService, UserService userService) {
         this.postRepository = postRepository;
         this.studentPostRepository = studentPostRepository;
@@ -40,5 +38,4 @@
         this.facultyService = facultyService;
         this.userService = userService;
-        this.cityRepository = cityRepository;
     }
 
@@ -46,18 +43,15 @@
     public String getPage(HttpSession httpSession,Model model) throws IOException {
 
-
+        String cityname= (String) httpSession.getAttribute("cityname");
         int number_of_roommates= (int) httpSession.getAttribute("number_of_roommates");
         int budget= (int) httpSession.getAttribute("budget");
         Long currentid= (Long) httpSession.getAttribute("currentid");
-        Long cityid= (Long) httpSession.getAttribute("cityid");
-        String cityname= (String) httpSession.getAttribute("cityname");
 
         httpSession.removeAttribute("cityname");
-        httpSession.removeAttribute("cityid");
         httpSession.removeAttribute("number_of_roommates");
         httpSession.removeAttribute("budget");
         httpSession.removeAttribute("currentid");
 
-        List<User> similarusers=userService.filteredUsers(cityid,number_of_roommates,budget,currentid);
+        List<User> similarusers=userService.filteredUsers(cityname,number_of_roommates,budget,currentid);
         model.addAttribute("similarusers",similarusers);
         return "liststudents";
@@ -66,8 +60,8 @@
 
     @PostMapping(value = "/createpost")
-    public String createpost(@RequestParam int number_of_roommates, @RequestParam Long cityid, @RequestParam int budget
+    public String createpost(@RequestParam int number_of_roommates, @RequestParam String cityname, @RequestParam int budget
             , HttpSession httpSession, Model model)
     {
-            Post post=new Post(cityid,number_of_roommates,budget, LocalDateTime.now(), "baram cimeri");
+            Post post=new Post(cityname,number_of_roommates,budget, LocalDateTime.now(), "baram cimeri");
             postRepository.save(post);
             Long maxPostID=postRepository.findMaxPostID();
@@ -79,10 +73,7 @@
             //do ovde se kreira studentpost
 
-
-            String cityname= cityRepository.findCityByCityId(cityid);
             httpSession.setAttribute("number_of_roommates",number_of_roommates);
             httpSession.setAttribute("cityname",cityname);
             httpSession.setAttribute("budget",budget);
-            httpSession.setAttribute("cityid",cityid);
 
 
Index: cimeri-main/src/main/java/com/example/cimeri/web/controller/PostApartmentController.java
===================================================================
--- cimeri-main/src/main/java/com/example/cimeri/web/controller/PostApartmentController.java	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/java/com/example/cimeri/web/controller/PostApartmentController.java	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -46,11 +46,9 @@
 
     @PostMapping(value = "/createpost")
-    public String createpost(@RequestParam int number_of_roommates, @RequestParam Long cityid, @RequestParam int price
+    public String createpost(@RequestParam int number_of_roommates, @RequestParam String cityname, @RequestParam int price
             , HttpSession httpSession, @RequestParam String building_adress, @RequestParam String apartment_adress, @RequestParam int apartment_size,
                              @RequestParam String photosurl, Model model)
     {
-
-
-        Post post=new Post(cityid,number_of_roommates,price, LocalDateTime.now(), "izdavam stan");
+        Post post=new Post(cityname,number_of_roommates,price, LocalDateTime.now(), "izdavam stan");
         postRepository.save(post);
         Long maxPostID=postRepository.findMaxPostID();
@@ -59,6 +57,5 @@
         httpSession.setAttribute("currentid",ownerID);
 
-
-        Building building=new Building(cityid,building_adress);
+        Building building=new Building(cityname,building_adress);
         buildingRepository.save(building);
         Long maxBuildingID=buildingRepository.findMaxBuildingID();
Index: cimeri-main/src/main/resources/templates/findapartments.html
===================================================================
--- cimeri-main/src/main/resources/templates/findapartments.html	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/resources/templates/findapartments.html	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -61,6 +61,6 @@
         <span class="findapartments-text06">CITY</span>
 
-        <select class="findapartments-textinput1 input" name="cityid" id="cityid">
-        <option th:each="city : ${cities}" th:value="${city.cityid}" th:name="city" th:text="${city.cityname}">
+        <select class="findapartments-textinput1 input" name="cityname" id="cityname">
+        <option th:each="city : ${cities}" th:value="${city.cityname}" th:name="city" th:text="${city.cityname}">
         </option>
         </select>
Index: cimeri-main/src/main/resources/templates/findroommates.html
===================================================================
--- cimeri-main/src/main/resources/templates/findroommates.html	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/resources/templates/findroommates.html	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -61,6 +61,6 @@
         <span class="findroommates-text06">CITY</span>
 
-        <select class="findroommates-textinput1 input" name="cityid" id="cityid">
-        <option th:each="city : ${cities}" th:value="${city.cityid}" th:name="city" th:text="${city.cityname}">
+        <select class="findroommates-textinput1 input" name="cityname" id="cityname">
+        <option th:each="city : ${cities}" th:value="${city.cityname}" th:name="city" th:text="${city.cityname}">
         </option>
         </select>
Index: cimeri-main/src/main/resources/templates/postapartment.html
===================================================================
--- cimeri-main/src/main/resources/templates/postapartment.html	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/src/main/resources/templates/postapartment.html	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -99,6 +99,6 @@
                 <br />
               </span>
-              <select class="postapartment-textinput2 input" name="cityid" id="cityid">
-                <option th:each="city : ${cities}" th:value="${city.cityid}" th:name="city" th:text="${city.cityname}">
+              <select class="postapartment-textinput2 input" name="cityname" id="cityname">
+                <option th:each="city : ${cities}" th:value="${city.cityname}" th:name="city" th:text="${city.cityname}">
                 </option>
               </select>
Index: cimeri-main/target/classes/templates/findapartments.html
===================================================================
--- cimeri-main/target/classes/templates/findapartments.html	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/target/classes/templates/findapartments.html	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -61,6 +61,6 @@
         <span class="findapartments-text06">CITY</span>
 
-        <select class="findapartments-textinput1 input" name="cityid" id="cityid">
-        <option th:each="city : ${cities}" th:value="${city.cityid}" th:name="city" th:text="${city.cityname}">
+        <select class="findapartments-textinput1 input" name="cityname" id="cityname">
+        <option th:each="city : ${cities}" th:value="${city.cityname}" th:name="city" th:text="${city.cityname}">
         </option>
         </select>
Index: cimeri-main/target/classes/templates/findroommates.html
===================================================================
--- cimeri-main/target/classes/templates/findroommates.html	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/target/classes/templates/findroommates.html	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -61,6 +61,6 @@
         <span class="findroommates-text06">CITY</span>
 
-        <select class="findroommates-textinput1 input" name="cityid" id="cityid">
-        <option th:each="city : ${cities}" th:value="${city.cityid}" th:name="city" th:text="${city.cityname}">
+        <select class="findroommates-textinput1 input" name="cityname" id="cityname">
+        <option th:each="city : ${cities}" th:value="${city.cityname}" th:name="city" th:text="${city.cityname}">
         </option>
         </select>
Index: cimeri-main/target/classes/templates/postapartment.html
===================================================================
--- cimeri-main/target/classes/templates/postapartment.html	(revision 087ce2b336a24f84911c58dea0a514c5c29dec4d)
+++ cimeri-main/target/classes/templates/postapartment.html	(revision bc30bcea3ff615e6e88eb82e7ffe63b4597301a8)
@@ -99,6 +99,6 @@
                 <br />
               </span>
-              <select class="postapartment-textinput2 input" name="cityid" id="cityid">
-                <option th:each="city : ${cities}" th:value="${city.cityid}" th:name="city" th:text="${city.cityname}">
+              <select class="postapartment-textinput2 input" name="cityname" id="cityname">
+                <option th:each="city : ${cities}" th:value="${city.cityname}" th:name="city" th:text="${city.cityname}">
                 </option>
               </select>
