added waiting functionality
added lost functionality to the dasboard