Removed hardcoded local storage access