startup pop up and auto refresh implemented