Log general exceptions
Ensure tags, requires and metadata are not null.
Added Spring Security to authenticate requests.
Logging interceptor for debugging