Add the /logs command.

And, hopefully, secure the database a bit.