implemented basic functions in Form.php to return posted data