added before_filter for correct post