changed hidden field to published
add auto generate for post slugs
fixed leakage of unpublished posts