Fixed bug accessing property of undefined when no local user data is stored