added localStorage to keep state of feed