CAP-78 implemented localStorage