added how to undo authorization
reduced localStorage amount