finished section on handling post data