add link and update route
refactor css
add edit post functionality