Index: src/main/java/edu/gjoko/schedlr/config/AppFilter.java
===================================================================
--- src/main/java/edu/gjoko/schedlr/config/AppFilter.java	(revision a436340967abb97f2cda58184c9eaaa6f91fcea1)
+++ src/main/java/edu/gjoko/schedlr/config/AppFilter.java	(revision 46fd0c7386f67547f6b1e9764cb7ea68cd35f8fc)
@@ -4,4 +4,5 @@
 import org.springframework.security.core.context.SecurityContextImpl;
 import org.springframework.security.core.userdetails.UserDetails;
+import org.springframework.util.StringUtils;
 import org.springframework.web.filter.GenericFilterBean;
 
@@ -23,9 +24,13 @@
         HttpSession session = httpServletRequest.getSession(false);
 
+        if(httpServletRequest.getRequestURI().endsWith(".js") || httpServletRequest.getRequestURI().endsWith(".css")) {
+            filterChain.doFilter(servletRequest, servletResponse);
+            return;
+        }
         if(session != null) {
             Map<String, String> roleTargetUrlMap = new HashMap<>();
-            roleTargetUrlMap.put("ADMIN", "/date");
-            roleTargetUrlMap.put("CUSTOMER", "/number");
-            roleTargetUrlMap.put("BUSINESS_OWNER", "");
+            roleTargetUrlMap.put("ADMIN", "/admin");
+            roleTargetUrlMap.put("CUSTOMER", "/homepage");
+            roleTargetUrlMap.put("BUSINESS_OWNER", "/business_homepage");
             SecurityContextImpl sci = (SecurityContextImpl) session.getAttribute("SPRING_SECURITY_CONTEXT");
             if(sci != null) {
@@ -34,14 +39,18 @@
                 for (final GrantedAuthority grantedAuthority : authorities) {
                     String authorityName = grantedAuthority.getAuthority();
-                    if("DATE".equalsIgnoreCase(authorityName)) {
-                        servletRequest.getRequestDispatcher("date").forward(servletRequest, servletResponse);
-                        return;
-                    } else if("GUESS_NUMBER".equalsIgnoreCase(authorityName)) {
-                        try {
-                            servletRequest.getRequestDispatcher("number").forward(servletRequest, servletResponse);
-                        } catch (Exception e) {
-                            e.printStackTrace();
-                        }
-
+                    String page = "";
+                    switch (authorityName) {
+                        case "ADMIN":
+                            page = "/admin";
+                            break;
+                        case "CUSTOMER":
+                        case "BUSINESS_OWNER":
+                            page = "/homepage";
+                            break;
+                        default:
+                            break;
+                    }
+                    if(page != null && !page.trim().isEmpty()) {
+                        servletRequest.getRequestDispatcher(page).forward(servletRequest, servletResponse);
                         return;
                     }
Index: src/main/java/edu/gjoko/schedlr/config/AppSecurityConfig.java
===================================================================
--- src/main/java/edu/gjoko/schedlr/config/AppSecurityConfig.java	(revision a436340967abb97f2cda58184c9eaaa6f91fcea1)
+++ src/main/java/edu/gjoko/schedlr/config/AppSecurityConfig.java	(revision 46fd0c7386f67547f6b1e9764cb7ea68cd35f8fc)
@@ -60,4 +60,5 @@
                 .antMatchers("/register_business").permitAll()
                 .antMatchers("/api/nomenclatures/*").permitAll()
+                .antMatchers("/api/business").permitAll()
                 .antMatchers("/homepage").permitAll()
                 .antMatchers("/css/**").permitAll()
Index: src/main/java/edu/gjoko/schedlr/config/MvcConfig.java
===================================================================
--- src/main/java/edu/gjoko/schedlr/config/MvcConfig.java	(revision a436340967abb97f2cda58184c9eaaa6f91fcea1)
+++ src/main/java/edu/gjoko/schedlr/config/MvcConfig.java	(revision 46fd0c7386f67547f6b1e9764cb7ea68cd35f8fc)
@@ -2,4 +2,5 @@
 
 import org.springframework.context.annotation.Configuration;
+import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
 import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
 import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@@ -14,6 +15,11 @@
         registry.addViewController("/register_business").setViewName("register_business");
         registry.addViewController("/homepage").setViewName("homepage");
+        registry.addViewController("/admin").setViewName("admin");
     }
 
-
+    @Override
+    public void addResourceHandlers(ResourceHandlerRegistry registry) {
+        registry.addResourceHandler("/resources/**")
+                .addResourceLocations("/resources/");
+    }
 }
