handling form posts and gets from interface