creates user table and posts resource