Fixed edit page and began index page work