using localStorage for user infos