generates post controller