fixed posts controller to accept categories. improved formatting on views.