implemented message() in changePub()
added success to response array
implemented message() in savePost()