filter documents by current user
fixing fields in Base.js