Got edit page working

not feature complete