Added logout functionality.
Updated readme with more precise instructions.