Added initial authorization framework.