Custody battle before birth

My baby father wants to be present at birth, personally im fine and not trying yo keep him from doing so. My issue is if he is required to be on the birth certificate? The baby wont have his last name and im againsted him being on the certificate because he already threating to take the child from me and im only a couple months! He does drugs his family is unfit to be around.All he talks about is the taxes😔 The baby will live with me im scared already. What can i do?