blog app model and helper mods