JS otrzymuje dane z LiocalStorage
JSON.parse(window.localStorage.getItem('user'));
MrStonkus
JSON.parse(window.localStorage.getItem('user'));