added drop down, and additional code for get/post.