Added support for  event short id, and user ids. Piped DB errors to the log