Fixing Lint errors
Load server data only on page load
Add duplicate warning