added blink_led and initialized server check funtions