refactor(models): clean useless code
refactor(model): improve security
refactor(blog): query optimization