LocalStorage working version
Converted over to sql backend - issues with async communication