modified the create page to do a post request.