Completed basic form and POST functionality