setting up post article logic