Wrote updatePost method for PostIO service.
Introduced view model to handle ui state, code clean up followed. Added in functions to start and finish editing.
Posts can now be edited
Style tweak for error display