Api authorisation

Closes #63 
Copy/paste error: findClientById