fix #25, fix #9: add mongodb as log backend;add reject reason.