editing a post partially works but is very hacky

and error prone
add some styling