messy solution for functionality of creating/updating plans finished.

Should condense view/edit plan into one view because there’s a lot of
duplicate code