add fields in blog schema
add model for categories
function duplication fix
category functions implemented