used setInterval to Refresh data on home page
Auto create/update/delete functionality