added form and logic
Merge pull request #1 from jwhitis/form

added form and logic