Server API update

Current version already supports authentication (using Basic Auth) &
validating credentials using the /login route… File structure has also
changed…