save lastest 20 messages in localStorage
save nickname in localStorage