Added logging with authorization by spring security framework.