adding post on turning forms into apis