Generate code from scaffolding for USER and MICROPOST