updated /edit page
added error page