Index: src/main/java/edu/gjoko/schedlr/controllers/HomePageController.java
===================================================================
--- src/main/java/edu/gjoko/schedlr/controllers/HomePageController.java	(revision cc52b098579f2f0c4586ca94632d01dd6e8aaada)
+++ src/main/java/edu/gjoko/schedlr/controllers/HomePageController.java	(revision 2b0a4db95e071b47a10460f6bb4d73d43885fb9c)
@@ -1,10 +1,10 @@
 package edu.gjoko.schedlr.controllers;
 
-import edu.gjoko.schedlr.entity.Search;
 import org.springframework.stereotype.Controller;
 import org.springframework.ui.Model;
 import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.ModelAttribute;
 import org.springframework.web.bind.annotation.PostMapping;
+
+import java.security.Principal;
 
 @Controller
@@ -12,12 +12,11 @@
 
     @GetMapping(name = "/homepage")
-    public String getHomePageTemplate(Model model, @ModelAttribute("search")Search search ) {
-        model.addAttribute("search", search);
+    public String getHomePageTemplate(Model model, Principal principal) {
+        System.out.println(principal);
         return "homepage";
     }
 
     @PostMapping(name = "/homepage")
-    public String postHomePageTemplate(Model model, @ModelAttribute("search")Search search) {
-        model.addAttribute("search", search);
+    public String postHomePageTemplate(Model model) {
         return "homepage";
     }
Index: src/main/java/edu/gjoko/schedlr/controllers/LoginController.java
===================================================================
--- src/main/java/edu/gjoko/schedlr/controllers/LoginController.java	(revision cc52b098579f2f0c4586ca94632d01dd6e8aaada)
+++ src/main/java/edu/gjoko/schedlr/controllers/LoginController.java	(revision 2b0a4db95e071b47a10460f6bb4d73d43885fb9c)
@@ -12,6 +12,5 @@
 
     @GetMapping(path = "/login")
-    public String getMapping(Model model) {
-        model.addAttribute("stakeholder", new Stakeholder());
+    public String getMapping(@ModelAttribute Stakeholder customer, Model model) {
         return "login";
     }
Index: src/main/java/edu/gjoko/schedlr/controllers/RegisterController.java
===================================================================
--- src/main/java/edu/gjoko/schedlr/controllers/RegisterController.java	(revision cc52b098579f2f0c4586ca94632d01dd6e8aaada)
+++ src/main/java/edu/gjoko/schedlr/controllers/RegisterController.java	(revision 2b0a4db95e071b47a10460f6bb4d73d43885fb9c)
@@ -29,6 +29,5 @@
     public String registerCustomer(@ModelAttribute Stakeholder customer, Model model) {
         Stakeholder user = stakeholderService.saveStakeholder(customer);
-        model.addAttribute("user", user);
-        return "redirect:homepage";
+        return "redirect:login";
     }
 
Index: src/main/java/edu/gjoko/schedlr/controllers/rest/EventsController.java
===================================================================
--- src/main/java/edu/gjoko/schedlr/controllers/rest/EventsController.java	(revision cc52b098579f2f0c4586ca94632d01dd6e8aaada)
+++ 	(revision )
@@ -1,16 +1,0 @@
-package edu.gjoko.schedlr.controllers.rest;
-
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestMethod;
-import org.springframework.web.bind.annotation.RestController;
-
-import java.time.LocalDateTime;
-
-@RestController
-public class EventsController {
-
-    @RequestMapping(value = "/events", method = RequestMethod.GET)
-    public String getEvents() {
-        return LocalDateTime.now().toString();
-    }
-}
Index: src/main/java/edu/gjoko/schedlr/controllers/rest/NomenclaturesController.java
===================================================================
--- src/main/java/edu/gjoko/schedlr/controllers/rest/NomenclaturesController.java	(revision 2b0a4db95e071b47a10460f6bb4d73d43885fb9c)
+++ src/main/java/edu/gjoko/schedlr/controllers/rest/NomenclaturesController.java	(revision 2b0a4db95e071b47a10460f6bb4d73d43885fb9c)
@@ -0,0 +1,23 @@
+package edu.gjoko.schedlr.controllers.rest;
+
+import edu.gjoko.schedlr.entity.BusinessType;
+import edu.gjoko.schedlr.repositories.BusinessTypeRepository;
+import edu.gjoko.schedlr.services.NomenclaturesService;
+import lombok.AllArgsConstructor;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
+
+@RestController
+@RequestMapping("api/nomenclatures")
+@AllArgsConstructor
+public class NomenclaturesController {
+
+    private final NomenclaturesService nomenclaturesService;
+    @GetMapping( "/businessTypes")
+    public List<BusinessType> getBusinessTypes() {
+        return nomenclaturesService.getBusinessTypes();
+    }
+}
