refactored to DRY code and seup a couple of partials
finished remaining post actions added comments and categories
associate categories