added spinner for wait message