Index: src/main/java/it/finki/tinki/controller/RegisterController.java
===================================================================
--- src/main/java/it/finki/tinki/controller/RegisterController.java	(revision 4a15c9c4b01a12cd4a7cb247e5225adafc57e80a)
+++ src/main/java/it/finki/tinki/controller/RegisterController.java	(revision 9d4220de2b60d5a2a98b69046569f66d3f4a3ea1)
@@ -51,4 +51,42 @@
     }
 
+    @RequestMapping(path = "/team", method = RequestMethod.POST)
+    private Map<String, String> registerTeam(@RequestParam String email,
+                                             @RequestParam String password,
+                                             @RequestParam String name,
+                                             @RequestParam int members){
 
+        Account k = this.accountService.registerTeam(email, password, name, members);
+
+        Map<String, String> response = new HashMap<>();
+
+        if(k!=null){
+            response.put("error", "There was an error when trying to register team.");
+        }else{
+            response.put("success", "Registration completed successfully.");
+        }
+
+        return response;
+    }
+
+    @RequestMapping(path = "/company", method = RequestMethod.POST)
+    private Map<String, String> registerTeam(@RequestParam String email,
+                                             @RequestParam String password,
+                                             @RequestParam String name,
+                                             @RequestParam String country,
+                                             @RequestParam String city,
+                                             @RequestParam String street){
+
+        Account k = this.accountService.registerCompany(email, password, name, country, city, street);
+
+        Map<String, String> response = new HashMap<>();
+
+        if(k!=null){
+            response.put("error", "There was an error when trying to register company.");
+        }else{
+            response.put("success", "Registration completed successfully.");
+        }
+
+        return response;
+    }
 }
