Implement authentication.
Implement privilege grant/revoke, begin working on function cache.