created edit page, shows old data from post