Functional API and Authentication

Added authentication and created a proper reference to the API from the
web client