blog implementing devise and mongodb logger