added category to new post and application_helpers