added and finished edit account page, added error message bar to publish page