use scaffold to generate user and posts