edit post, session logout