Use separate db for keys. Use new crypto module instead of mock.
Save resources with proper identity as author