added code to garage door view controller to handle connection errors and send requests