localStorage feature implemented and working