Added logout and posting\