built edit page and links
edit functionality not working completely