change form submission from post to get, add input validation