Add PostActionMixin. Refactor views.