modfied layout of edit page and home