added html meta refresh every 5 seconds and random number bug