Adding a timer to reset the credentials every 30 seconds