added loading spinner, modified the connect button

Change-Id: I82eb7021e863d4fa0899c7503eb2377c3ab816e2