add form functionality
added payment functionality