generate contact controller