Issue #3: Refactoring create actions

Fixed create actions of categories and posts controller - regarding
diashow.