Error Checking - APIcalls>Authorize

Added some error checking for no internet connection.