refactor login page
refactor index page
refactor edit page & fix some bug