added a spinner widget; implemented spinner for login window