Migrate client features to use new server

Remove all authManager references where possible.
Change fetch calls url to new server.

GitLab: #79
GitLab: #100
GitLab: #110
Change-Id: I1dce64108ceba67531372df764f8f7563cc50a3b
diff --git a/server/src/routers/account-router.ts b/server/src/routers/account-router.ts
index 6ef7aa6..7bccea7 100644
--- a/server/src/routers/account-router.ts
+++ b/server/src/routers/account-router.ts
@@ -65,7 +65,7 @@
   const accountId = res.locals.accountId;
   const currentAccountDetails = jamid.getAccountDetails(accountId);
   const newAccountDetails: AccountDetails = { ...currentAccountDetails, ...req.body };
-  jamid.setAccountDetails(res.locals.accountId, newAccountDetails);
+  jamid.setAccountDetails(accountId, newAccountDetails);
   res.sendStatus(HttpStatusCode.NoContent);
 });
 
diff --git a/server/src/routers/contacts-router.ts b/server/src/routers/contacts-router.ts
index 8e0e2bc..5439fed 100644
--- a/server/src/routers/contacts-router.ts
+++ b/server/src/routers/contacts-router.ts
@@ -49,6 +49,6 @@
 });
 
 contactsRouter.post('/:contactId/block', (req, res) => {
-  jamid.removeContact(res.locals.accountId, req.params.contactId);
+  jamid.blockContact(res.locals.accountId, req.params.contactId);
   res.sendStatus(HttpStatusCode.NoContent);
 });